package org.wang.gift.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class LoginDto {
    @NotBlank(message = "请输入用户名和密码进行登录!")
    private String username;
    @NotBlank(message = "请输入用户名和密码进行登录!")
    private String password;
    @NotNull(message = "非法请求！")
    private Integer type;
}